home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
drdobbs
/
1987
/
11
/
stack.h
< prev
next >
Wrap
C/C++ Source or Header
|
1987-10-08
|
403b
|
17 lines
/*
stack.h
William May
2/20/87 created
*/
typedef int *STACK;
/* function prototypes */
extern int empty ( STACK * ); /* is anything on the stack? */
extern int pop ( STACK * );
extern int push ( int, STACK *);
extern STACK * init_stack ( int );
extern void del_stack ( STACK ** ); /* remove stack */
extern int top_of_stack( STACK * ); /* returns top of stack */